package org.journal.service;

import org.journal.entity.UserEntity;

public interface RegistrationService {

	/**
	 * Checks if user is a registered user
	 * @param name
	 * @param password
	 * @return {@link UserEntity} if user is registered, <code>false</code>
	 *         otherwise
	 */
	public UserEntity checkUserExistence(String username);
	
	public UserEntity createUser(String username, String password);

}
